import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import { NavBar } from 'vant';
Vue.use(NavBar);
import { Divider } from 'vant';
Vue.use(Divider);
import { NoticeBar } from 'vant';
Vue.use(NoticeBar);
import { Empty } from 'vant';
Vue.use(Empty);
import "./unit/index.css"
import setRem from "./vue-rem"
Vue.config.productionTip = false;
new Vue({
    router,
    render: (h) => h(App),
}).$mount("#app");
setRem(750, 100);
window.addEventListener('resize', function() { setRem(750, 100); });